package com.yanqu.road.logic.bussiness.servercenter;

import com.yanqu.road.logic.bussiness.DaoHelper;
import com.yanqu.road.entity.servercenter.ForbiddenInfo;

import java.util.List;

public class ForbiddenBussiness {

	public static void getAll(List<String> forbiddenIp, List<String> forbiddenMac, List<String> forbiddenSpeakIp, List<String> forbiddenSpeakMac) {
		DaoHelper.getForbiddenDaoImpl().getAll(forbiddenIp, forbiddenMac, forbiddenSpeakIp, forbiddenSpeakMac);
	}

	public static boolean addForbiddenInfo(ForbiddenInfo forbiddenInfo) {
		return DaoHelper.getForbiddenDaoImpl().addForbiddenInfo(forbiddenInfo);
	}

	public static boolean deleteForbiddenInfo(ForbiddenInfo forbiddenInfo) {
		return DaoHelper.getForbiddenDaoImpl().deleteForbiddenInfo(forbiddenInfo);
	}
}
